package com.stylefeng.guns.api.alipay;

import com.stylefeng.guns.api.alipay.vo.AliPayInfoVO;
import com.stylefeng.guns.api.alipay.vo.AliPayResultVO;

/**
 * Created by deng_wb on 2020/2/28
 */
public class AliPayServiceMock implements AliPayServiceAPI{
    /**
     * 获取二维码信息
     *
     * @param orderId
     * @return
     */
    @Override
    public AliPayInfoVO getQRCode(String orderId) {
        return null;
    }

    /**
     * 获取支付信息
     *
     * @param orderId
     * @return
     */
    @Override
    public AliPayResultVO getOrderStatus(String orderId) {
        AliPayResultVO aliPayResultVO = new AliPayResultVO();
        aliPayResultVO.setOrderId(orderId);
        aliPayResultVO.setOrderMsg("尚未支付成功");
        aliPayResultVO.setOrderStatus(0);
        return aliPayResultVO;
    }
}
